package cn.ad.server.domain.ad.vo;

import cn.ad.server.domain.ad.DayTargert;
import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

public class StrategyVO {

	// private static final long serialVersionUID = -7113234160688069017L;

	/**
	 * json包含id, endTime, speedBase, feeType, unitPrice
	 */

	@Protobuf(order = 1)
	private long id;

	@Protobuf(order = 2)
	private long startTimeSecond;

	@Protobuf(order = 3)
	private long endTimeSecond;

	@Protobuf(order = 4)
	private int speedBase;

	@Protobuf(order = 5)
	private int feeType;

	@Protobuf(order = 6)
	private double unitPrice;

	@Protobuf(order = 7)
	private int speedMode;

	@Protobuf(order = 8, fieldType = FieldType.OBJECT)
	private DayTargert DayTargert;

	@Protobuf(order = 9)
	private int maxImpressions;

	@Protobuf(order = 10)
	private int dayImpressions;

	@Protobuf(order = 11)
	private int maxClicks;

	@Protobuf(order = 12)
	private int dayClicks;

	@Protobuf(order = 13)
	private double budget;

	@Protobuf(order = 14)
	private double dayBudget;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	// public Date getEndTime() {
	// return endTime;
	// }
	//
	// public void setEndTime(Date endTime) {
	// this.endTime = endTime;
	// }

	public int getSpeedBase() {
		return speedBase;
	}

	public void setSpeedBase(int speedBase) {
		this.speedBase = speedBase;
	}

	public int getFeeType() {
		return feeType;
	}

	public void setFeeType(int feeType) {
		this.feeType = feeType;
	}

	public int getSpeedMode() {
		return speedMode;
	}

	public void setSpeedMode(int speedMode) {
		this.speedMode = speedMode;
	}

	public DayTargert getDayTargert() {
		return DayTargert;
	}

	public void setDayTargert(DayTargert dayTargert) {
		DayTargert = dayTargert;
	}

	// public Date getStartTime() {
	// return startTime;
	// }
	//
	// public void setStartTime(Date startTime) {
	// this.startTime = startTime;
	// }

	public int getMaxImpressions() {
		return maxImpressions;
	}

	public void setMaxImpressions(int maxImpressions) {
		this.maxImpressions = maxImpressions;
	}

	public int getDayImpressions() {
		return dayImpressions;
	}

	public void setDayImpressions(int dayImpressions) {
		this.dayImpressions = dayImpressions;
	}

	public int getMaxClicks() {
		return maxClicks;
	}

	public void setMaxClicks(int maxClicks) {
		this.maxClicks = maxClicks;
	}

	public int getDayClicks() {
		return dayClicks;
	}

	public void setDayClicks(int dayClicks) {
		this.dayClicks = dayClicks;
	}

	public double getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public double getBudget() {
		return budget;
	}

	public void setBudget(double budget) {
		this.budget = budget;
	}

	public double getDayBudget() {
		return dayBudget;
	}

	public void setDayBudget(double dayBudget) {
		this.dayBudget = dayBudget;
	}

	public long getStartTimeSecond() {
		return startTimeSecond;
	}

	public void setStartTimeSecond(long startTimeSecond) {
		this.startTimeSecond = startTimeSecond;
	}

	public long getEndTimeSecond() {
		return endTimeSecond;
	}

	public void setEndTimeSecond(long endTimeSecond) {
		this.endTimeSecond = endTimeSecond;
	}

}
